package com.ebuy.shopping.service;

import java.util.List;

import com.ebuy.shopping.model.User;

/**
 * 
 * @ClassName: IUserService
 * @Description: TODO
 * @author wenzhao
 * @date 2017年8月10日 上午10:25:20
 * 
 */
public interface IUserService
{

    List<User> getUsers() throws Exception;

    int add(User user) throws Exception;

    int update(User user) throws Exception;

    User load(String userId) throws Exception;

    User selectUserById(String userId) throws Exception;

    User login(String userName) throws Exception;

    Boolean checkLogin(String userName, String password) throws Exception;

    int deleteByPrimaryKey(String userId) throws Exception;
}
